<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="/login/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />  


</head>

<body>
<a href="/joke/web.do?method=create">新增</a>&nbsp;&nbsp;&nbsp;&nbsp;

<br>
<TABLE border="1" cellspacing="0" cellpadding="3" width="99%">
<TR>
	<TD>序号</TD>
	<TD>站点名称</TD>
	<TD>抓数据URL</TD>
	<TD>是否有效</TD>
	<TD>更新日期</TD>
	<TD>总页数</TD>
	<TD>&nbsp;</TD>
</TR>
<c:forEach var="obj" items="${list}" varStatus="status" >

<TR>
	<TD>${status.index + 1}&nbsp;</TD>
	<TD>${obj.web_name}&nbsp;</TD>
	<TD>${obj.data_source}&nbsp;</TD>
	<TD>${obj.is_valid}&nbsp;</TD>
	<TD>${obj.update_date}&nbsp;</TD>
	<TD>${obj.total_page}&nbsp;</TD>

	<TD>
		<a href="/joke/web.do?method=edit&id=${obj.id}">编辑</a>


		<a href="/joke/web.do?method=updateJokeFormWeb&id=${obj.id}" onclick="{if(confirm('确定要更新?')){return true;}return false;}">更新</a>
		<a href="/joke/web.do?method=getJokeFromWeb&id=${obj.id}" onclick="{if(confirm('确定要抓数据?')){return true;}return false;}">抓数据</a>
		<a href="/joke/web.do?method=delete&id=${obj.id}" onclick="{if(confirm('确定要删除?')){return true;}return false;}">删除</a>
	</TD>

</TR>
</c:forEach>
</TABLE>


</body>
</html>
